From cab8734832d14d00c8e07b5dce121abc68001d26 Mon Sep 17 00:00:00 2001 From: Anton Gladky Date: Thu, 7 Jan 2021 19:43:48 +0100 Subject: [PATCH] Enable some more modules --- debian/libvtk9-qt-dev.install | 3 +-- debian/rules | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/debian/libvtk9-qt-dev.install b/debian/libvtk9-qt-dev.install index 0be394ae9..b68a64947 100644 --- a/debian/libvtk9-qt-dev.install +++ b/debian/libvtk9-qt-dev.install @@ -1,4 +1,3 @@ -# remove Python files here and privide a symlink in the python package -# usr/lib/*/python2.7/site-packages/vtk/*Qt* usr/lib/*/*Qt*.so usr/include/vtk-9.0/*Qt* +usr/include/vtk-9.0/Q* diff --git a/debian/rules b/debian/rules index af2a0ac41..f0d5dc205 100755 --- a/debian/rules +++ b/debian/rules @@ -30,9 +30,15 @@ extra_flags += \ -DVTK_BUILD_EXAMPLES=OFF \ -DVTK_BUILD_TESTING=OFF \ -DVTK_EXTRA_COMPILER_WARNINGS=ON \ + -DVTK_GROUP_ENABLE_Qt:STRING="YES" \ + -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL:STRING="NO" \ + -DVTK_GROUP_ENABLE_Rendering:STRING="YES" \ + -DVTK_GROUP_ENABLE_Views:STRING="YES" \ -DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING="YES" \ -DVTK_MODULE_ENABLE_VTK_RenderingTk:STRING="YES" \ -DVTK_MODULE_ENABLE_VTK_utf8:STRING="YES" \ + -DVTK_MODULE_ENABLE_VTK_InteractionWidgets:STRING="YES" \ + -DVTK_MODULE_ENABLE_VTK_InteractionImage:STRING="YES" \ -DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion:BOOL=ON \ -DVTK_MODULE_USE_EXTERNAL_VTK_eigen:BOOL=ON \ -DVTK_MODULE_USE_EXTERNAL_VTK_expat:BOOL=ON \ @@ -85,7 +91,7 @@ override_dh_install: rm -rf $(CURDIR)/debian/tmp/usr/share/licenses find $(CURDIR)/debian/libvtk9-dev/ -name "*Qt*" -exec rm {} \; || true find $(CURDIR)/debian/libvtk9-dev/ -name "libvtkRenderingPythonTkWidgets.so" -exec rm {} \; || true - find $(CURDIR)/debian/libvtk9/ -name "*Qt*" -exec rm {} \; || true find $(CURDIR)/debian/libvtk9-dev/usr/include/ -name "Q*" -exec rm {} \; || true + find $(CURDIR)/debian/libvtk9/ -name "*Qt*" -exec rm {} \; || true find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.0/doxygen -name "_formulas.log" -exec rm {} \; || true find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -exec rm {} \; || true -- 2.30.2